<script setup lang="ts">
import { onMounted, ref } from 'vue'
import { getUserJQ } from "../api/api";
const tableData = ref()
onMounted(()=>{
    userFB()
})
//获取数据
const userFB = async() => {
    const res = await getUserJQ()  
    tableData.value = res.data.data
}
const deleteRow = async(e:string) => {

}
</script>

<template>
    <el-scrollbar>
        <el-table :data="tableData">
            <el-table-column prop="_id" label="id" width="300" />
            <el-table-column prop="fbUser" label="fb账号" width="900" />
            <el-table-column prop="mail" label="用户邮箱" width="200" />
            <el-table-column prop="name" label="用户名字"/>
        </el-table>
    </el-scrollbar>
</template>

<style scoped>
</style>